/**
 * Created by gongxun on 16/11/15.
 */

var KwxppForceExitTableResponsekwxpp = function(){
    var that = new GameResponseBase();

    that.handle = function (binary, msgid) {
        that.loadMessage(binary, msgid);
        that.msg = mo.gameHelper.replaceJsonTokwx(that.msg, {});
        //通过牌桌大结算退出
        mo.kwxTable.mGroupId = that.msg.Gid;

        var code = that.msg.code;
        if (code == 4){
            // mo.showRoomMsgShow("打牌中不能退");
        }else{
            if (code == 0){

            }else if (code == 1){

            }
            mo.gameMsgManager.sendUserInfoRequest();

            mo.eventHelper.dispatch("KwxForceExitTableResponsekwxOK");

            if (code == 7){
                mo.showMsgDialogText("您被房主踢出房间了");
            }
        }
    };

    return that;
};